<div class="product">
		<div class="producttitle"><a href="<?=MY_URL?>">Home</a>&gt;<?=$this->parentArray[count($this->parentArray)-2]?>&gt;<?=$this->parentArray[count($this->parentArray)-1]?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<select onchange="changeMode(this);">
				<option value="0">New arrival</option>
				<option value="2">Price: lowest first</option>
				<option value="1">Price: highest first</option>                            
			</select>
		</div>
		<?if($this->flArray2):?>
		<div class="productAlterMsg">
	    <ul  class="clubAlList">
             <?foreach($this->flArray2 as $value):?>
                    <li><a title="<?=$value['en_flname']?>" href="<?=MY_URL?>/category-detail-cid-<?=$value['flid']?>/<?=$this->encodeName($value['en_flname'])?>/"> <?=$value['en_flname']?></a>&nbsp;&nbsp;&nbsp;</li>
             <?endforeach;?>
            </ul>
        </div>
         <div align="center" style="font-size:22px;color:#FF0000;padding-top:20px;">For more Products, Please Contact us!!</div>
		<?endif;?>
			<ul class="indexproductlist">
			<?if($this->itemCounts>0):?>
			<?foreach($this->itemArray as $value):?>
						<li>
							<div class="pic">					    
							<a href="<?=MY_URL?>/product-detail-id-<?=$value['itemid']?>/<?=$this->encodeName($value['subject'])?>/"><img src="<?=MY_URL?>/<?=$value['cut_url']?>"  width="153" height="145" border="0"/></a></div>
							
							<div class="productlistText"><a href="<?=MY_URL?>/product-detail-id-<?=$value['itemid']?>/<?=$this->encodeName($value['subject'])?>/"><span><?=$this->subStr($value['subject'],0,35)?>
							</span>
							<?if($value['min_price']!=$value[0]['max_price']):?>
								<strong>$ <?=$value['min_price']?> - <?=$value['max_price']?> </strong>
							<?else:?>
								<strong>$ <?=$value['max_price']?> </strong>
							<?endif;?></a>
							</div>
						</li>
						<?endforeach;?>
						<li id="pagebox"><?=$this->pageString?></li>
		<?else:?>
			<?=$this->getMsg("No item found!");?>
		<?endif;?>
												

		  </ul>

        </div>
<script>
	function changeMode(thisSelect){
		var href=window.location.href.split('?')[0];
		window.location.href=href+"?order="+thisSelect.value+'&page=<?=$this->page?>';
	}
	$('.sortByProduct select').val('<?=$this->order?>');
</script>